home *** CD-ROM | disk | FTP | other *** search
- /*
- **
- ** requestlist.thor - Will open a standard ASL filerequester and let
- ** the user select a file from this requester.
- ** The filename can be returned with full path
- ** or just the filename.
- ** Will return 10 if the user selected CANCEL
- ** in the requester, and 0 on success.
- ** The variable result will hold the file
- ** selected. No checking is made if
- ** the user do NOT select any file but still
- ** presses OK in the requester!
- **
- ** Template:
- **
- ** TITLETEXT=TITLE/A,INITIALDRAWER=ID/A,INITIALFILE=IF,FULLPATH=FP/S,FILEPATTERN=PAT
- */
-
- options results
-
- address THOR.01
-
- THORTOFRONT
-
- REQUESTFILE TITLE '"Select a file:"' ID '"Work:dloads"' FP PAT '"#?"'
-
- say result
-
-